import { AddFriends, MessageListItem } from "../../type/socketHandelFuncType";
import type { BaseMessage, FriendMessage } from "@/api/xhr/message";
export type TypefriendsFunc = {
  addFriend: (data: AddFriends) => void;
  comfirmFriend: (data: MessageListItem) => void;
  createdGroup: (data: MessageListItem) => void;
  destroyGroup: (data: any) => void;
  getFriendMessage: (data: BaseMessage<FriendMessage>) => void;
  getMessagelist: (data: any) => void;
  getgroupMessage: (data: any) => void;
  recallMessage: (data: { messageId: string | number, type: string }) => void;
  invitedToGroup: (data: MessageListItem) => void;
};
